package com.xujl.elementlib;

import android.util.Log;

/**
 * @author x
 * @Description
 */
public class ElementLog {
    private static boolean DEBUG = true;

    public static void setDebug (boolean debug) {
        ElementLog.DEBUG = debug;
    }

    public static void e (String tag, String msg) {
        if (!DEBUG) {
            return;
        }
        Log.e(tag, msg);
    }
}
